package com.mpsc.lcn.provide.service.impl;


import com.mpsc.api.bean.UserInfoEntity;
import com.mpsc.lcn.provide.dao.UserInfoDao;
import com.mpsc.lcn.provide.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoDao userInfoDao;

    @Override
    public void saveUserInfo(UserInfoEntity user) {
        System.out.println("-------执行saveUserInfo()方法之前-------");
        userInfoDao.saveUserInfo(user);
        System.out.println("-------执行saveUserInfo()方法之后-------");
    }
}
